<h1>New domain</h1>

<%= error_messages_for :domain %>

<% form_for(@domain) do |f| %>
  <p>
    <b>Table</b><br />
    <%= f.text_field :table_id %>
  </p>

  <p>
    <b>Domainname</b><br />
    <%= f.text_field :domainName %>
  </p>

  <p>
    <b>Protocol</b><br />
    <%= f.text_field :protocol %>
  </p>

  <p>
    <b>Hostname</b><br />
    <%= f.text_field :hostName %>
  </p>

  <p>
    <b>Port</b><br />
    <%= f.text_field :port %>
  </p>

  <p>
    <b>Path</b><br />
    <%= f.text_field :path %>
  </p>

  <p>
    <b>Hit</b><br />
    <%= f.text_field :hit %>
  </p>

  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', domains_path %>
